package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    /**
     * 新增菜品和对应的口味
     *
     * @param dishDTO
     */

    void saveWithFlavor(DishDTO dishDTO);

    PageResult getDishList(DishPageQueryDTO dishPageQueryDTO);

    void deleteBatch(List<Long> ids);

    void updateDisWithFlavor(DishDTO dishDTO);

    DishVO getByDishId(Long id);

    List<Dish> getByDishList(Long id);

    List<DishVO> listWithFlavor(Dish dish);

    void updateDishStatus(Integer status, Long id);
}
